home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / djgpp / include / sys / time.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-11  |  876 b   |  34 lines

  1. /*
  2.  * DESQview/X Socket Library. Copyright (c) 1991 Quarterdeck Office Systems.
  3.  *
  4.  * Copyright (c) 1983 Regents of the University of California.
  5.  * All rights reserved.  The Berkeley software License Agreement
  6.  * specifies the terms and conditions for redistribution.
  7.  */
  8.  
  9. /*      @(#)time.h      */
  10.  
  11. #ifndef __SYS_TIME_H__
  12. #define __SYS_TIME_H__
  13.  
  14. #include <time.h>
  15.  
  16. /*
  17.  * Structure returned by gettimeofday(2) system call,
  18.  * and used in other calls.
  19.  */
  20. #if !defined(__NDPC__) || (defined(__NDPC__) && !defined(_OS_H))
  21.  
  22. struct timeval {
  23.         long    tv_sec;         /* seconds */
  24.         long    tv_usec;        /* and microseconds */
  25. };
  26.  
  27. struct timezone {
  28.         int     tz_minuteswest; /* minutes west of Greenwich */
  29.         int     tz_dsttime;     /* type of dst correction */
  30. };
  31. #endif /* __NDPC__ */
  32.  
  33. #endif /* __SYS_TIME_H__ */
  34.